<%--
  Created by IntelliJ IDEA.
  User: Churcy
  Date: 2017/1/6
  Time: 12:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<%
	String path = request.getContextPath();
	Object appKey = request.getAttribute("appKey");
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<script>
	//全局变量在js中使用
	var PROJECT_CTX = '${ctx }';
	//var LICENSE_STATUS = '';
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>上传APK</title>

<!-- Bootstrap -->
<link href="<%=basePath%>/vendors/bootstrap/dist/css/bootstrap.min.css"
	rel="stylesheet">
<!-- Font Awesome -->
<link href="<%=basePath%>/vendors/font-awesome/css/font-awesome.min.css"
	rel="stylesheet">
<!-- NProgress -->
<link href="<%=basePath%>/vendors/nprogress/nprogress.css"
	rel="stylesheet">
<!-- iCheck -->
<link href="<%=basePath%>/vendors/iCheck/skins/flat/green.css"
	rel="stylesheet">
<!-- bootstrap-progressbar -->
<link
	href="<%=basePath%>/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css"
	rel="stylesheet">
<!-- JQVMap -->
<link href="<%=basePath%>/vendors/jqvmap/dist/jqvmap.min.css"
	rel="stylesheet" />
<!-- bootstrap-daterangepicker -->
<link
	href="<%=basePath%>/vendors/bootstrap-daterangepicker/daterangepicker.css"
	rel="stylesheet">

<!-- Custom Theme Style -->
<link href="<%=basePath%>/build/css/custom.min.css" rel="stylesheet">
</head>
<body class="nav-md">
	<div class="container body">
		
		<div class="main_container">
			<div class="col-md-3 left_col">
				<jsp:include page="../common/menu.jsp"></jsp:include>
			</div>

			<!-- top navigation -->
			<div class="top_nav">
				<jsp:include page="../common/header.jsp"></jsp:include>
			</div>
			<!-- /top navigation -->

			<!-- page content -->
			<div class="right_col" role="main">
				<!-- top tiles -->
				<!-- page title-->

				<div class="clearfix"></div>
				<div class="row">
					<div class="col-md-12 col-sm-12 col-xs-12">
						<div class="x_panel">
							<div class="x_title">
								<h2>
									上传APK <small>在下面输入您想添加的内容然后提交,或点击放弃返回</small>
								</h2>
					
								<div class="clearfix"></div>
							</div>
							<div class="x_content">
								<br />
								<form id="form" data-parsley-validate
									class="form-horizontal form-label-left" method="post" enctype="multipart/form-data" accept-charset="utf-8" action="<%=basePath %>/apkVersion/addVersion">
									<input id="APP_KEY" value='${appKey}' name="appKey" style="display: none" />
									<div class="form-group">
										<label class="control-label col-md-3 col-sm-3 col-xs-12">选择一个文件<span class="required">*</span>
										</label>
										<div class="col-md-6 col-sm-6 col-xs-12">
											<input type="file" name="file" />
										</div>
									</div>

									<div class="ln_solid"></div>
									<div class="form-group">
										<div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
											<button id = "cancel" type="submit" class="btn btn-primary">放弃</button>
											<button type="submit" class="btn btn-success">提交</button>
										</div>
									</div>

								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- /page content -->

			<!-- footer content -->
			<footer>
				<jsp:include page="../common/footer.jsp"></jsp:include>
			</footer>
			<!-- /footer content -->
		</div>
	</div>

	<!--分页-->
	<script src="<%=basePath%>/js/company/equipment.js"></script>

	<!-- jQuery -->

	<!-- Bootstrap -->
	<script src="<%=basePath%>/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
	<!-- FastClick -->
	<script src="<%=basePath%>/vendors/fastclick/lib/fastclick.js"></script>
	<!-- NProgress -->
	<script src="<%=basePath%>/vendors/nprogress/nprogress.js"></script>
	<!-- iCheck -->
	<script src="<%=basePath%>/vendors/iCheck/icheck.min.js"></script>
	<!-- Custom Theme Scripts -->
	<script src="<%=basePath%>/build/js/custom.min.js"></script>

</body>
</html>


